package com.example.management.oa.service

import com.example.management.common.utils.PageUtils
import com.example.management.oa.domain.NotifyDO

interface NotifyService {

    operator fun get(id: Long?): NotifyDO

    fun list(map: Map<String, Any>): List<NotifyDO>

    fun count(map: Map<String, Any>): Int

    fun save(notify: NotifyDO): Int

    fun update(notify: NotifyDO): Int

    fun remove(id: Long?): Int

    fun batchRemove(ids: Array<Long>): Int

    //	Map<String, Object> message(Long userId);

    fun selfList(map: Map<String, Any>): PageUtils
}
